#include "BRNNPlayer.h"
#include "Games/NiuNiuGameLogic.h"
#include "BRNNSoundFun.h"
#include "Games/NiuNiuCardSprite.h"

void BRNNPlayer::setHandCard(BYTE* pCardData,int iCout)
{

}

cocos2d::Node* BRNNPlayer::getTouchCardNode(cocos2d::Vec2 kTouchPos)
{
	return NULL;
}

BYTE BRNNPlayer::getTouchCardVlaue(cocos2d::Node* pNode)
{
	return NULL;
}

void BRNNPlayer::showCard(BYTE* cbCardData,BYTE cbCardCount)
{

}

void BRNNPlayer::showHandCard(BYTE* cbCardData, BYTE cbCardCount)
{
// 	m_handPanel->removeAllChildrenWithCleanup(true);
// 
// 	for (int i = 0; i < cbCardCount; ++i)
// 	{
// 		CCardSprite* pSprite = CCardSprite::create(cbCardData[i], m_iIdex, 0);
// 		if (pSprite)
// 		{
// 			if (m_iIdex == 0)
// 			{
// 				pSprite->setTag(1);
// 				pSprite->setPosition(m_handPanel->getChildrenCount() * pSprite->getContentSize().width, 0);
// 			}
// 			else
// 			{
// 				pSprite->setScale(0.5f);
// 				pSprite->setPosition(m_handPanel->getChildrenCount() * pSprite->getContentSize().width/5, 0);
// 			}
// 			m_handPanel->addChild(pSprite);
// 		}
// 	}
}
